From: Tanner Doshier Date: Sat, 4 May 2013 01:33:05 +0000 (-0500) Subject: panelMenu: Attempt to navigate menus only if we can't navigate inside the menu X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4236 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d9a4688e989d0980d1c1f8bc4c44f79d1d3b3283;p=gnome-shell.git panelMenu: Attempt to navigate menus only if we can't navigate inside the menu This enables key navigation in the calendar. https://bugzilla.gnome.org/show_bug.cgi?id=667434 --- diff --git a/js/ui/panelMenu.js b/js/ui/panelMenu.js index aa935e9c4..b73152eb0 100644 --- a/js/ui/panelMenu.js +++ b/js/ui/panelMenu.js @@ -184,6 +184,9 @@ const Button = new Lang.Class({ }, _onMenuKeyPress: function(actor, event) { + if (global.focus_manager.navigate_from_event(event)) + return true; + let symbol = event.get_key_symbol(); if (symbol == Clutter.KEY_Left || symbol == Clutter.KEY_Right) { let group = global.focus_manager.get_group(this.actor);